<#include "/base/common/head.html"/>
<script type="text/javascript" src="${basePath}/res/js/menu.js"></script>
<script type="text/javascript">
	if (self != top) { //主页不允许在iframe中
		top.window.location.reload();
	}

	//修改密码
	function updatePassword() {
		top.openWindow("修改密码", "${basePath}/base/main/toUpdatePassword", {
			size : '400x240'
		});
	}
</script>
<style type="text/css">
.head {
	background: #fff;
	font-size: 14px;
	color: #666;
	height: 50px;
	padding: 10px 8px;
	overflow: hidden;
}

.head table {
	border-spacing: 0px;
	width: 100%;
}

.head table, tr, td, th {
	padding: 0px;
}

.head .rtool a.l-btn-plain:hover {
	color: black;
}

.head .rtool a.l-btn-plain.m-btn-plain-active {
	color: black;
}

.head .hexin_header_info a {
	margin-right: 10px;
}

a:hover {
	color: #e02e24;
}

.easyui-tabs .tabs {
	border-color: #A5C4EF;
}

.easyui-tabs .tabs li a.tabs-inner {
	border-radius: 2px 2px 0 0;
}

.tree-node .tree-title {
	font-size: 13px;
	font-weight: normal;
}

.left {
	background-color: #424f63;
}

.menu_head {
	height: 30px;
	line-height: 30px;
	background: #D9DEE4;
	color: #848484;
	text-align: center;
}

.layout-expand-north, .layout-expand-west {
	height: 0px;
}

.tree-icon {
	font-size: 12px;
	line-height: 18px;
}

.hexin_fl {
	float: left;
}

.hexin_fr {
	float: right;
}

.hexin_clear {
	clear: both;
	overflow: hidden;
}

.hexin_header_info {
	width: 260px;
	height: 50px;
}
</style>

<div id="layout" class="easyui-layout"
	data-options="fit:true, border:false">
	<div data-options="region:'north',border:false, collapsedSize:0">
		<div class="head">
			<div class="hexin_logo hexin_fl">
				<img src="${basePath}/res/theme/orange/images/logo.png"
					alt="鼎信安全漏洞通报管理系统" />
			</div>
			<!-- 右侧边栏 -->
			<div class="easyui-panel rtool" data-options="border:false"
				style="text-align: right; margin-top: -1px; background: none">
				<div class="hexin_header_info  hexin_fr">
					<div class="hexin_wecomle">
						<span class="">欢迎您：</span> <a href="#" class="easyui-menubutton"
							data-options="menu:'#mm1'"> <#if Session[ 'userInfo']??>${Session['userInfo'].user.username}
                                <#else>未登录</#if>
                        </a>
						<br />

					</div>
					<div id="mm1" style="width: 150px;">
						<div data-options="iconCls:'icon-edit'" onclick='updatePassword()'>修改密码</div>
						<div class="menu-sep"></div>
						<div data-options="iconCls:'icon-undo'"
							onclick="location.href='${basePath}/logout'">退出</div>
					</div>
				</div>
			</div>
		</div>
	</div>
	<div id="west"
		data-options="region:'west',split:true, border:false, collapsedSize:0"
		style="width: 200px; background-color: #F5F5F5; color: white">
		<div class="zsy_menu">
			<div class="menu_head">菜单导航</div>
			<ul id="menuTree"></ul>
		</div>
	</div>
	<div data-options="region:'center', border:false">
		<div id="mainTabs" style="height: 250px">
			<div title="首页">
				<iframe src="${basePath}/base/main/main" class="easyui-panel"
					data-options="fit:true,border:false" frameborder="0"></iframe>
			</div>
		</div>
	</div>
</div>

<div id="tabsMenu">
	<div data-options="iconCls:'glyphicon-refresh'" type="refresh"
		style="font-size: 12px;">刷新</div>
	<div class="menu-sep"></div>
	<div data-options="iconCls:'glyphicon-remove'" type="close"
		style="font-size: 12px;">关闭</div>
	<div data-options="iconCls:''" type="closeOther">关闭其他</div>
	<div data-options="iconCls:''" type="closeAll">关闭所有</div>
</div>
<div id="tabTools"
	style="border: 0px; border-bottom: 1px solid #D3D3D3;">
	<a id="fullScreen" href="###" class="easyui-linkbutton" plain="true"
		iconCls="glyphicon-fullscreen" onclick="fullScreen(this)"></a>
</div>

<#include "/base/common/dialogWindow.html"/>
<#include "/base/common/foot.html"/>